package com.example;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class DingTalkCOntroller {

    Logger logger = LoggerFactory.getLogger(getClass());

    @RequestMapping("callBack")
    public String callBack(@RequestBody Map map){
        logger.warn("callBack: " + map.toString());
        return "xxx";
    }
}
